package com.woniuxy.dao;

import com.woniuxy.entity.RbacRole;
import com.woniuxy.entity.ResponseEntity;
import java.util.List;
import java.util.Set;

public interface RbacRoleDao {
    List<RbacRole> findAll();

    RbacRole findOne(int id);

    int addOne(RbacRole rbacRole);

    int deleteOne(int id);

    int updateOne(RbacRole rbacRole);

    Set<String> findOneByUserName(String username);

    List<RbacRole> search(String key, String key1);

}
